import request from '@/utils/request'
let baseUrl = process.env.NODE_ENV === 'production' ? 'api/galaxy/std' : '/std'
export const wechatMesRecordList = (data?: any) =>
  request({
    baseURL: baseUrl,
    url: '/wechat-message-record/list',
    method: 'post',
    data
  })
export const wechatMsgTemplateList = (data?: any) =>
  request({
    baseURL: baseUrl,
    url: '/wechat-message-template/list',
    method: 'post',
    data
  })
export const createWechatMsgTemplate = (data?: any) =>
  request({
    baseURL: baseUrl,
    url: '/wechat-message-template/create',
    method: 'post',
    data
  })
export const updateWechatMsgTemplate = (data?: any) =>
  request({
    baseURL: baseUrl,
    url: '/wechat-message-template/update',
    method: 'post',
    data
  })
